<?php
namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Lib\Response;
use App\Http\Model\Hint;
use App\Http\Services\ShortcutWordServices;

class ApiShortcutWordController extends BaseController
{
    protected $shortcutWordService;

    public function __construct(){
        $this->shortcutWordService = new ShortcutWordServices();
    }

    /**
     * 快捷语列表
     */
    public function shortcutWordList(Request $request)
    {
        $data = $this->shortcutWordService->shortcutWordList();

        Response::returnResult(Hint::SUCCESS, $data['data']);
    }


}
